package com.uusee.shipshape.bk;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.uusee.framework.web.util.KeyValue;

public final class Constants {
	public static final String MESSAGE_FAILURE = "failure";
	public static final String MESSAGE_SUCCESS = "success";
	
	//百科信息来源网站常数定义
	public static final String SOURCE_SITE_MAMS = "uusee-mams";
	public static final String SOURCE_SITE_MTIME = "www.mtime.com";
	public static final String SOURCE_SITE_XUNLEI = "www.xunlei.com";
	public static final List<KeyValue> SOURCE_SITE_LIST;
	static {
		SOURCE_SITE_LIST = new ArrayList<KeyValue>();
		SOURCE_SITE_LIST.add(new KeyValue(SOURCE_SITE_MAMS,"UUSEE媒资库"));
		SOURCE_SITE_LIST.add(new KeyValue(SOURCE_SITE_MTIME,"时光网"));
		SOURCE_SITE_LIST.add(new KeyValue(SOURCE_SITE_XUNLEI,"迅雷网"));
	}
	
	//百科频道常数定义
	public static final String CHANNEL_CODE_MOVIE = "movie";
	public static final String CHANNEL_CODE_TELEPLAY = "teleplay";
	public static final String CHANNEL_CODE_ANIME = "anime";
	public static final String CHANNEL_CODE_VARIETYSHOW = "varietyshow";
	public static final String CHANNEL_CODE_MUSIC = "music";
	public static final String CHANNEL_CODE_QUYI = "quyi";
	public static final String CHANNEL_CODE_NEWS = "news";
	public static final String CHANNEL_CODE_FINANCE = "finance";
	public static final String CHANNEL_CODE_HEALTH = "health";
	public static final String CHANNEL_CODE_SPORT = "sport";
	public static final String CHANNEL_CODE_OTHER = "other";
	public static final List<KeyValue> CHANNEL_CODE_LIST;
	static {
		CHANNEL_CODE_LIST = new ArrayList<KeyValue>();
		CHANNEL_CODE_LIST.add(new KeyValue(CHANNEL_CODE_MOVIE,"电影"));
		CHANNEL_CODE_LIST.add(new KeyValue(CHANNEL_CODE_TELEPLAY,"电视剧"));
		CHANNEL_CODE_LIST.add(new KeyValue(CHANNEL_CODE_ANIME,"动漫"));
		CHANNEL_CODE_LIST.add(new KeyValue(CHANNEL_CODE_VARIETYSHOW,"综艺"));
		CHANNEL_CODE_LIST.add(new KeyValue(CHANNEL_CODE_QUYI,"曲艺"));
		CHANNEL_CODE_LIST.add(new KeyValue(CHANNEL_CODE_MUSIC,"音乐"));
		CHANNEL_CODE_LIST.add(new KeyValue(CHANNEL_CODE_NEWS,"资讯"));
		CHANNEL_CODE_LIST.add(new KeyValue(CHANNEL_CODE_FINANCE,"财经"));
		CHANNEL_CODE_LIST.add(new KeyValue(CHANNEL_CODE_HEALTH,"健康生活"));
		CHANNEL_CODE_LIST.add(new KeyValue(CHANNEL_CODE_SPORT,"体育"));
		CHANNEL_CODE_LIST.add(new KeyValue(CHANNEL_CODE_OTHER,"其他"));
	}
	public static final Map<String,String>CHANNEL_CODE_MAP;
	static {
		CHANNEL_CODE_MAP = new HashMap<String,String>();
		CHANNEL_CODE_MAP.put(CHANNEL_CODE_MOVIE,"电影");
		CHANNEL_CODE_MAP.put(CHANNEL_CODE_TELEPLAY,"电视剧");
		CHANNEL_CODE_MAP.put(CHANNEL_CODE_ANIME,"动漫");
		CHANNEL_CODE_MAP.put(CHANNEL_CODE_VARIETYSHOW,"综艺");
		CHANNEL_CODE_MAP.put(CHANNEL_CODE_QUYI,"曲艺");
		CHANNEL_CODE_MAP.put(CHANNEL_CODE_MUSIC,"音乐");
		CHANNEL_CODE_MAP.put(CHANNEL_CODE_NEWS,"资讯");
		CHANNEL_CODE_MAP.put(CHANNEL_CODE_FINANCE,"财经");
		CHANNEL_CODE_MAP.put(CHANNEL_CODE_HEALTH,"健康生活");
		CHANNEL_CODE_MAP.put(CHANNEL_CODE_SPORT,"体育");
		CHANNEL_CODE_MAP.put(CHANNEL_CODE_OTHER,"其他");
	}
	
	//百科视频状态常数定义
	public static final String VIDEO_STATUS_DEFAULT = "00";
	public static final String VIDEO_STATUS_HAS_VOD = "01";
	public static final String VIDEO_STATUS_HAS_UGC = "02";
	public static final String VIDEO_STATUS_HAS_UGC_AND_VOD = "03";
	public static final List<KeyValue> VIDEO_STATUS_LIST;
	static {
		VIDEO_STATUS_LIST = new ArrayList<KeyValue>();
		VIDEO_STATUS_LIST.add(new KeyValue(VIDEO_STATUS_DEFAULT,"无视频"));
		VIDEO_STATUS_LIST.add(new KeyValue(VIDEO_STATUS_HAS_VOD,"已经关联VOD"));
		VIDEO_STATUS_LIST.add(new KeyValue(VIDEO_STATUS_HAS_UGC,"已经关联UGC"));
		VIDEO_STATUS_LIST.add(new KeyValue(VIDEO_STATUS_HAS_UGC_AND_VOD,"已经关联VOD和UGC"));
	}
	public static final Map<String,String> VIDEO_STATUS_MAP;
	static {
		VIDEO_STATUS_MAP = new HashMap<String,String>();
		VIDEO_STATUS_MAP.put(VIDEO_STATUS_DEFAULT,"无视频");
		VIDEO_STATUS_MAP.put(VIDEO_STATUS_HAS_VOD,"已经关联VOD");
		VIDEO_STATUS_MAP.put(VIDEO_STATUS_HAS_UGC,"已经关联UGC");
		VIDEO_STATUS_MAP.put(VIDEO_STATUS_HAS_UGC_AND_VOD,"已经关联VOD和UGC");
	}
	
	//百科LOGO状态常数定义
	public static final String LOGO_STATUS_DEFAULT = "0";
	public static final String LOGO_STATUS_HAS_150_200 = "1";
	public static final String LOGO_STATUS_HAS_200_150 = "2";
	public static final String LOGO_STATUS_HAS_BOTH = "3";
	
	public static final String PLAYLIST_TYPE_VOD = "1";
	public static final String PLAYLIST_TYPE_UGC = "0";
	public static final String PLAYLIST_VIDEO_TYPE_VOD = "1";
	public static final String PLAYLIST_VIDEO_TYPE_UGC = "0";
	
	public static final String IMAGE_STATUS_DEFAULT = "0";
	public static final String IMAGE_STATUS_DOWNLOAD = "1";
	
	
	
	public static final String MAJIA_KUKUMOVIE = "www.kukumovie.cn";
	public static final String MAJIA_SOUYING123 = "www.souying123.cn";
	public static final String MAJIA_0535FILM = "www.0535film.cn";
	public static final String[] MAJIAS = {MAJIA_KUKUMOVIE,MAJIA_SOUYING123,MAJIA_0535FILM};
	public static final String IMAGE_SERVER_UUSEE="img.uusee.com";
	public static final Map<String,String>IMAGE_SERVER_MAP;
	static {
		IMAGE_SERVER_MAP = new HashMap<String,String>();
		IMAGE_SERVER_MAP.put(MAJIA_KUKUMOVIE,"img.kukumovie.cn");
		IMAGE_SERVER_MAP.put(MAJIA_SOUYING123,"img.souying123.cn");
		IMAGE_SERVER_MAP.put(MAJIA_0535FILM,"img.0535film.cn");
	}
	
	
	public static final String UGC_SOURCESITE_YOUKU = "www.youku.com";
	public static final String UGC_SOURCESITE_TUDOU = "www.tudou.com";
	public static final String UGC_SOURCESITE_SINA = "v.sina.com.cn";
	public static final String UGC_SOURCESITE_KU6 = "www.ku6.com";
	public static final String UGC_SOURCESITE_56 = "www.56.com";
	
}
